package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by rzh on 18-12-17.
 */
@Data
public class BaseUserUpdateUsersDto {
    @ApiModelProperty("id")
    private Integer id;
    @NotEmpty(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    @NotEmpty(message = "密码不能为空")
    private String password;
    @ApiModelProperty("员工id")
    private Integer employeeId;
    @ApiModelProperty("角色Id数组")
    private Long[] rids;
}
